import axios from '../axios'

export let getmsbdData = (params) => {
    return axios({
        method: 'get',
        url: '/msbd/msbd-list',
        params
    })
}

export let addmsbdData = (data) => {
    console.log(data)
    return axios({
        method: "post",
        url: '/msbd/save-msbd',
        data
    })
}

export let editmsbdData = (data) => {
    return axios({
        method: 'post',
        url: '/msbd/update-msbd',
        data
    })
}

export let delmsbdData = (id) => {
    return axios({
        method: 'get',
        url: '/msbd/delete-msbd',
        params: { id }
    })
}